package com.ruyuan.eshop.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruyuan.eshop.framework.domain.entity.BaseEntity;
import lombok.Data;

/**
 * 订单日志表实体
 * @author pwd
 * @version 1.0
 */
@Data
@TableName("es_order_log")
public class OrderLogDO extends BaseEntity {

    /**订单编号*/
    @TableField(value = "order_sn")
    private String orderSn;

    /**操作者id*/
    @TableField(value = "op_id")
    private Long opId;

    /**操作者名称*/
    @TableField(value = "op_name")
    private String opName;

    /**日志信息*/
    @TableField(value = "message")
    private String message;

    /**操作时间*/
    @TableField(value = "op_time")
    private Long opTime;
}
